/**
 * @author monirul
 */

var UserListModel =  new Class.create({
	
	initialize: function(){
		this._userList = {};
	},
	
	init:function(o){
		if(o['userList'] != null){
			this._userList = o['userList'];
		}
		this.userListUpdated = new Event(this);
	},
	
	updateList: function(userList) {
		this._userList = userList;
		this.userListUpdated.notify({'userList': this._userList});
	},
	
	getUserList:function(){
		return this._userList;
	},
	
	
	
});
